@charset "utf-8";
@import "reset";
@function p($px){
    @return $px/2+px;
}

html,body{
    height:100%;
    width: 100%;
    overflow: hidden;
}
.kaishi{
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: p(60);
    z-index: 100;
    transform: translateX(-300%);
    animation-name: kaishi;
    animation-duration: 4s;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    ul{
        li{
            margin: 0 auto;
            width: p(171);
            height: p(70);
        }
    }
    img{
        width: 100%;
    }
    @keyframes kaishi{
        0%{
            opacity: 0;
            transform: translateX(-300%);
        }
        100%{
            opacity: 1;
            transform: translateX(0);
        }
    }
}
.mobile{
    width: 100%;
    position: relative;
    z-index: 10;
    .home{
        height: 100%;
        background: url(../img/bg.png)no-repeat;
        background-size: cover;
        .content{
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
            .logo{
                width: p(103);
                height: p(38);
                overflow: hidden;
                margin-left: p(44);
                margin-top: p(44);
                img{
                    width: 100%;
                }
            }
            .title1{
                margin: 0 auto;
                margin-top: p(80);
                width: p(381);
                height: p(71);
                overflow: hidden;
                img{
                    width: 100%;
                }
            }
            .title2{
                margin: 0 auto;
                width: p(576);
                height: p(157);
                overflow: hidden;
                img{
                    width: 100%;
                }
            }
            .title3{
                margin: 0 auto;
                width: p(352);
                height: p(62);
                overflow: hidden;
                img{
                    width: 100%;
                }
            }
            .title4{
                margin: 0 auto;
                width: p(341);
                height: p(29);
                overflow: hidden;
                margin-top: p(15);
                img{
                    width: 100%;
                }
            }
            .pic{
                margin: 0 auto;
                width: p(339);
                height: p(421);
                position: relative;
                margin-top: p(100);
                >img{
                    position: relative;
                    width: 100%;
                    z-index: 100;
                    transform: translateY(-250%);
                    animation-name: people;
                    animation-duration: 5s;
                    animation-iteration-count: 1;
                    animation-delay: 1s;
                    animation-fill-mode: forwards;
                    @keyframes people{
                        0%{
                            opacity: 0;
                            transform: translateY(-250%);
                        }
                        40%{
                            opacity: 1;
                        }
                        55%{
                            transform: translateY(5%);
                        }
                        70%{
                            transform: translateY(0);
                        }
                        85%{
                            transform: translateY(5%);
                        }
                        100%{
                            transform: translateY(0);
                        }
                    }
                }
                .duihua{
                    img{
                        position: absolute;
                        animation-name: duihua;
                        animation-duration: 3s;
                        animation-iteration-count: 1;
                        &:nth-of-type(1){
                            width: p(94);
                            height: p(69);
                            left: p(-120);
                            top: p(80);
                            animation-delay: 5s;
                        }
                        &:nth-of-type(2){
                            width: p(148);
                            height: p(82);
                            right: p(-120);
                            top: p(80);
                            animation-delay: 4s;
                        }
                        &:nth-of-type(3){
                            width: p(128);
                            height: p(78);
                            left: p(-120);
                            top: p(320);
                            animation-delay: 6s;
                        }
                        &:nth-of-type(4){
                            width: p(94);
                            height: p(57);
                            right: p(-120);
                            top: p(320);
                            animation-delay: 7s;
                        }
                        @keyframes duihua{
                            0%{
                                transform: scale(1);
                            }
                            50%{
                                transform: scale(1.8);
                            }
                            100%{
                                transform: scale(1);
                            }
                        }
                    }
                }
                .moon{
                    width: p(120);
                    height: p(120);
                    border-radius: 50%;
                    position: absolute;
                    right: p(-70);
                    top: p(-40);
                    img{
                        &:nth-of-type(1){
                            position: absolute;
                            top: 23%;
                            left: 27%;
                            width: p(65);
                            height: p(65);
                            z-index: 1;
                        }
                        &:nth-of-type(2){
                            position: absolute;
                            top: -7%;
                            width: 100%;
                            animation-name: moonlight;
                            animation-duration: 3s;
                            animation-iteration-count: infinite;
                        }
                        @keyframes moonlight{
                            0%{
                                transform: scale(1);
                            }
                            50%{
                                transform: scale(1.3);
                            }
                            100%{
                                transform: scale(1);
                            }
                        }
                    }
                }
                .cloud{
                    img{
                        z-index: 10;
                        animation-name: cloud;
                        animation-iteration-count: infinite;
                        animation-duration: 30s;
                        @keyframes cloud{
                            0%{
                                transform: translateX(0);
                            }
                            100%{
                                opacity: 0;
                                transform: translateX(p(-600));
                            }
                        }
                        &:nth-of-type(1){
                            width: p(77);
                            height: p(56);
                            position: absolute;
                            top: p(-170);
                            left: p(-100);
                            animation-name: cloud1;
                            animation-duration: 10s;
                            animation-delay: 20s;
                            animation-iteration-count: infinite;
                            @keyframes cloud1{
                                0%{
                                    transform: translateX(0);
                                }
                                100%{
                                    opacity: 0;
                                    transform: translateX(p(-100));
                                }
                            }
                        }
                        &:nth-of-type(2){
                            width: p(58);
                            height: p(43);
                            position: absolute;
                            top: p(-140);
                            right: p(-100);
                        }
                        &:nth-of-type(3){
                            width: p(43);
                            height: p(32);
                            position: absolute;
                            top: p(-30);
                            right: p(-20);
                        }
                        &:nth-of-type(4){
                            width: p(59);
                            height: p(44);
                            position: absolute;
                            top: p(30);
                            right: p(-130);
                        }
                        &:nth-of-type(5){
                            width: p(34);
                            height: p(25);
                            position: absolute;
                            top: p(60);
                            right: p(-34);
                        }
                    }
                }
            }
        }
    }
    .roll{
        width: 100%;
        height: 100%;
        background: url(../img/question-bg.png)no-repeat;
        background-size: cover;
        .fp-controlArrow{
            display: none;    
        }
        .slidezd{
            width: 100%;
            height: 100%;
            .neirong{
                width: 100%;
                height: 100%;
                position: relative;
                overflow: hidden;
                //text-align: center;
                a{
                    width: p(90);
                    height: p(50);
                    line-height: p(50);
                    background-color: pink;
                    border-radius: p(10);
                    color: white;
                    font-size: p(26);
                    display: block;
                    margin-top: p(40);
                    margin-left: 5%;
                    text-align: center;
                }
                h1{
                    text-align: left;
                    color: white;
                    font-size: p(34);
                    margin-left: 5%;
                    margin-top: p(60);
                    width: 90%;
                }
                .img{
                    margin:0 auto;
                    margin-top: p(40);
                    height: p(350);
                    width: 100%;
                    overflow: hidden;
                    text-align: center;
                    position: relative;
                    z-index: 100;
                    img{
                        height: 100%;
                    }
                }
                .imgs{
                    width: p(382);
                    font-size: 0;
                    img{
                        height: 48%;
                        width: p(182);
                        margin-bottom: p(10);
                        &:nth-of-type(odd){
                            float: left;
                        }
                        &:nth-of-type(even){
                            float: right;
                        }
                    }
                }
                .wenti{
                    margin: 0 auto;
                    margin-top: p(150);
                    width: p(520);
                    position: relative;
                    .cloud{
                        img{
                            animation-name: yundong2;
                            animation-iteration-count: infinite; 
                            @keyframes yundong2{
                                0%{
                                    transform: translateX(0);
                                }
                                100%{
                                    transform: translateX(p(-800));
                                }
                            }
                            &:nth-of-type(1){
                                width: p(108);
                                height: p(78);
                                position: absolute;
                                top: p(-200);
                                left: p(-30);
                                animation-duration: 30s;
                            }
                            &:nth-of-type(2){
                                width: p(64);
                                height: p(47);
                                position: absolute;
                                top: p(-200);
                                right: p(50);
                                animation-duration: 40s;
                            }
                            &:nth-of-type(3){
                                width: p(111);
                                height: p(82);
                                position: absolute;
                                top: p(-240);
                                right: p(140);
                                animation-duration: 40s;
                            }
                            &:nth-of-type(4){
                                width: p(85);
                                height: p(62);
                                position: absolute;
                                top: p(-260);
                                left: p(220);
                                animation-duration: 40s;
                            }
                            &:nth-of-type(5){
                                width: p(63);
                                height: p(46);
                                position: absolute;
                                top: p(-130);
                                right: p(170);
                                animation-duration: 40s;
                            }
                        }
                    }
                    p{
                        position: relative;
                        z-index: 10;
                        display: block;
                        background: url(../img/answer-bg.png)no-repeat;
                        background-size: cover;
                        width: p(368);
                        height: p(63);
                        line-height: p(63);
                        margin-bottom: p(25);
                        font-size: p(28);
                        padding-left: p(20);
                        &:hover{
                            background: url(../img/answer-active.png)no-repeat;
                            background-size: cover;
                        }
                    }
                    .true:hover{
                        background: url(../img/answer-true.png)no-repeat;
                        background-size: cover;
                    }
                    .dog{
                        width: p(88);
                        height: p(93);
                        position: absolute;
                        bottom: p(-28);
                        right: p(28);
                        img{
                            animation-name: yinfu;
                            animation-iteration-count: infinite;
                            animation-duration: 6s;
                            @keyframes yinfu{
                                0%{
                                    transform: translate(0,0);
                                }
                                100%{
                                    transform: translate(p(80),p(-400));
                                    opacity: 0;
                                }
                            }
                            position: absolute;
                            &:nth-of-type(1){
                                width: 100%;
                                z-index: 10;
                                animation: none;
                            }
                            &:nth-of-type(2){
                                width: p(104);
                                height: p(122);
                            }
                            &:nth-of-type(3){
                                width: p(74);
                                height: p(74);
                                animation-delay: 1s;
                            }
                            &:nth-of-type(4){
                                width: p(75);
                                height: p(53);
                                animation-delay: 2s;
                            }
                            &:nth-of-type(5){
                                width: p(69);
                                height: p(47);
                                animation-delay: 3s;
                            }
                            &:nth-of-type(6){
                                width: p(65);
                                height: p(61);
                                animation-delay: 4s;
                            }
                        }
                    }
                }
            }
        }
        .test{
            width: 100%;
            height: 100%;
            .testC{
                width: 100%;
                height: 100%;
                background: url(../img/test-result-bg.png)no-repeat;
                background-size: cover;
                overflow: hidden;
                position: relative;
                z-index: 1;
                .logo{
                    width: p(103);
                    height: p(38);
                    overflow: hidden;
                    margin-left: p(44);
                    margin-top: p(44);
                    img{
                        width: 100%;
                    }
                }
                .haibao{
                    width: p(534);
                    height: p(846);
                    margin: 0 auto;
                    margin-top: p(70);
                    position: relative;
                    img{
                        &:nth-of-type(1){
                            width: 100%;
                            position: absolute;
                            z-index: 10;
                        }
                        &:nth-of-type(2){
                            position: absolute;
                            width: p(260);
                            height: p(333);
                            bottom: p(-120);
                            left: p(70);
                            z-index: 100;
                        }
                    }
                    button{
                        width: p(200);
                        height: p(71);
                        background-color: #deff00;
                        border-radius: p(10);
                        box-shadow: p(5) p(5) #4e580e;
                        position: absolute;
                        z-index: 100;
                        font-size: p(32);
                        letter-spacing: p(7);
                        bottom: p(100);
                        right: p(60);
                    }
                }
            }
        }
        .pingjia1{
            width: 100%;
            height: 100%;
            position: relative;
            .pingjiaC{
                width: 100%;
                height: 100%;
                overflow: hidden;
                #yc{
                    display: none;
                }
                #yc:checked~label{
                    .hidden{
                        height: 0;
                        transition-duration: 1s;
                    }
                }
                .hidden{
                    position: absolute;
                    z-index: 3;
                    width: 100%;
                    height: 100%;
                    overflow: hidden;
                    background-color: rgba(0,0,0,0.9);               
                    .ycimg{
                        margin: 0 auto;
                        margin-top: p(300);
                        margin-bottom: p(100);
                        width: p(168);
                        height: p(166);
                        overflow: hidden;
                        img{
                            width: 100%;
                        }
                    }
                    p{
                        font-size: p(38);
                        color: #D5D5D5;
                        text-align: center;
                    }
                }
                .logo{
                    width: p(103);
                    height: p(38);
                    overflow: hidden;
                    margin-left: p(44);
                    margin-top: p(44);
                    img{
                        width: 100%;
                    }
                }
                .dogtx{
                    width: p(141);
                    height: p(129);
                    overflow: hidden;
                    border-radius: 50%;
                    margin: 0 auto;
                    margin-top: p(50);
                    img{
                        width: 100%;
                    }
                }
                h1{
                    margin-top: p(10);
                    text-align: center;
                    font-size: p(34);
                    font-weight: normal;
                    color: white;
                    span{
                        color: #fff000;
                    }
                }
                .pjtop{
                    margin: 0 auto;
                    margin-top: p(90);
                    width: 88%;
                    margin-left: 6%;
                    position: relative;
                    margin-bottom: p(300);
                    p{
                        width: p(316);
                        font-size: p(25);
                        color: #d5d5d5;
                    }
                    button{
                        border-radius: p(20);
                        &:nth-of-type(1){
                            width: p(135);
                            height: p(63);
                            background-color: #5b717a;
                            color: #2f3400;
                            position: absolute;
                            top: p(100);
                            left: p(40);
                        }
                        &:nth-of-type(2){
                            width: p(178);
                            height: p(64);
                            background-color: #a1b05e;
                            color: #2f3400;
                            position: absolute;
                            top: p(160);
                            left: p(180);
                        }
                        &:nth-of-type(3){
                            width: p(168);
                            height: p(64);
                            background-color: #bccbd9;
                            color: #2f3400;
                            position: absolute;
                            top: p(50);
                            right: p(160);
                        }
                        &:nth-of-type(4){
                            width: p(200);
                            height: p(58);
                            background-color: #c3c126;
                            color: #2f3400;
                            position: absolute;
                            top: p(250);
                            right: p(160);
                        }
                    }
                    
                }
                .pjbottom{
                    text-align: center;
                    p{
                        font-size: p(25);
                        color: #D5D5D5;
                        text-align: center;
                        margin-bottom: p(20);
                    }
                    textarea{
                        display: block;
                        margin: 0 auto;
                        width: p(500);
                        height: p(80);
                        background: none;
                        border: p(4) solid white;
                        margin-bottom: p(20);
                    }
                    button{
                        width: p(144);
                        height: p(55);
                        background-color: #DEFF00;
                        font-size: p(26);
                        color: #384000;
                        letter-spacing: p(7);
                        border-radius: p(10);
                        box-shadow: p(10) p(10) #4E580E;
                        margin-right: p(20);
                    }
                }
            }
        }
        .pingjia2{
            width: 100%;
            height: 100%;
            position: relative;
            .pingjiaC{
                width: 100%;
                height: 100%;
                overflow: hidden;
                #yc2{
                    display: none;
                }
                #yc2:checked~label{
                    .hidden{
                        height: 0;
                        transition-duration: 1s;
                    }
                }
                .hidden{
                    position: absolute;
                    z-index: 3;
                    width: 100%;
                    height: 100%;
                    overflow: hidden;
                    background-color: rgba(0,0,0,0.9);               
                    .ycimg{
                        margin: 0 auto;
                        margin-top: p(300);
                        margin-bottom: p(100);
                        width: p(314);
                        height: p(314);
                        overflow: hidden;
                        img{
                            width: 100%;
                        }
                    }
                    p{
                        font-size: p(36);
                        color: #D5D5D5;
                        text-align: center;
                    }
                }
                .logo{
                    width: p(103);
                    height: p(38);
                    overflow: hidden;
                    margin-left: p(44);
                    margin-top: p(44);
                    img{
                        width: 100%;
                    }
                }
                .dogtx{
                    width: p(141);
                    height: p(129);
                    overflow: hidden;
                    border-radius: 50%;
                    margin: 0 auto;
                    margin-top: p(50);
                    img{
                        width: 100%;
                    }
                }
                h1{
                    margin: 0 auto;
                    display: block;
                    background: url(../img/look-ping-jia-1.png)no-repeat;
                    background-size: contain;
                    width: p(360);
                    height: p(60);
                    line-height: p(60);
                    padding-left: p(10);
                    margin-top: p(30);
                    text-align: center;
                    font-size: p(28);
                    font-weight: normal;
                    color: white;
                }
                >p{
                    height: p(66);
                    line-height: p(66);
                    font-size: p(26);
                    color: white;
                    text-align: center;
                    span{
                        font-size: p(40);
                        margin-left: p(10);
                        margin-right: p(10);
                    }
                }
                ul{
                    text-align: center;
                    margin-top: p(30);
                    li{
                        margin-bottom: p(40);
                        .picbox{
                            width: p(60);
                            height: p(60);
                            overflow: hidden;
                            border-radius: 50%;
                            display: inline-block;
                            margin-right: p(10);
                            img{
                                width: 100%;
                            }
                        }
                        span{
                            display: inline-block;
                            background: url(../img/look-ping-jia-2.png)no-repeat;
                            background-size: contain;
                            width: p(400);
                            height: p(44);
                            line-height: p(44);
                            font-size: p(28);
                            position: relative;
                            top: p(-20);
                            color: white;
                            text-align: left;
                            padding-left: p(20);
                        }
                    }
                }
                .guanzhu{
                    position: fixed;
                    bottom: 0;
                    width: 4%;
                    height: p(70);
                    background: #2c2c2c;
                    line-height: p(70);
                    color: white;
                    display: flex;
                    align-items: center;
                    justify-content: space-around;
                    p{
                        font-size: p(24);
                        margin-left: p(40);
                    }
                    button{
                        width: p(110);
                        height: p(46);
                        line-height: p(46);
                        text-align: center;
                        background-color: #DEFF00;
                        letter-spacing: p(7);
                        border-radius: p(10);
                        font-size: p(26);
                        color: #384000;
                    }
                    .imgbox{
                        font-size: 0;
                        width: p(36);
                        height: p(28);
                        overflow: hidden;
                        img{
                            width: 100%;
                            position: relative;
                            top: p(-6);
                        }
                    }
                }
            }
        }
    }
}
